package com.qingcloud.fexecutor.pojo;

import com.qingcloud.fexecutor.model.WebPubApp;
import com.qingcloud.fexecutor.model.WebPubPage;
import com.qingcloud.fexecutor.model.WebPubPageResource;
import com.qingcloud.fexecutor.model.WebPubPageVariable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 前端项目表.
 */
@Data
@ToString
@Accessors(chain = true)
public class WebAppExportDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "页面树结构")
    private WebPubApp webPubApp;

    @ApiModelProperty("页面源码")
    private List<WebPubPage> pages;

    @ApiModelProperty("页面资源")
    private List<WebPubPageResource> resources;

    @ApiModelProperty("页面变量")
    private List<WebPubPageVariable> variables;

}
